<h1>Listing target_question_boxes</h1>

<table>
  <tr>
    <th>Section</th>
    <th>Control group</th>
    <th>Target</th>
    <th>Target resource</th>
    <th>Question</th>
    <th>Showquestion</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @target_question_boxes.each do |target_question_box| %>
  <tr>
    <td><%= target_question_box.section_id %></td>
    <td><%= target_question_box.control_group_id %></td>
    <td><%= target_question_box.candidate_id %></td>
    <td><%= target_question_box.org_id %></td>
    <td><%= target_question_box.target_resource %></td>
    <td><%= target_question_box.question_id %></td>
    <td><%= target_question_box.showquestion %></td>
    <td><%= link_to 'Show', target_question_box %></td>
    <td><%= link_to 'Edit', edit_target_question_box_path(target_question_box) %></td>
    <td><%= link_to 'Destroy', target_question_box, confirm: 'Are you sure?', method: :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Target question box', new_target_question_box_path %>
